/*
 * @Author: actor
 * @Date: 2023-12-15 16:42:59
 * @email: 395593455@qq.com
 * @LastEditors: actor
 * @LastEditTime: 2023-12-19 13:49:30
 * @FilePath: \i-hos-app\shared\emr\index.ts
 * @Description: 组件导入注册
 */

// 组件导入
import EmrRpo from './src/views/rpo'
import EmrTmpl from './src/views/tmpl'
import EmrEditer from './src/views/editer'

// 全局注册
const components = [EmrRpo, EmrTmpl, EmrEditer]
const install = (Vue: any): void => {
  components.forEach((component: any): void => {
    Vue.component(component.name, component)
  })
}
export { EmrRpo, EmrTmpl, EmrEditer }
export default install
